package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.KnowledgeFood;

import java.util.List;

public interface KnowledgeFoodService {
    PageResult findPage(QueryPageBean queryPageBean);

    void add(KnowledgeFood knowledgeFood);

    void edit(KnowledgeFood knowledgeFood);

    void delete(Integer id);

    List<KnowledgeFood> findAll();
}
